package com.example.entity;

public class GoodsCollectionDTO {
    private  int collectionid;
    private Integer uid;
    private Integer gid;
    private String time;

    // 来自goods表的字段
    private String img;
    private String gname;
    private Double price;

    @Override
    public String toString() {
        return "GoodsCollectionDTO{" +
                "collectionid=" + collectionid +
                ", uid=" + uid +
                ", gid=" + gid +
                ", time='" + time + '\'' +
                ", img='" + img + '\'' +
                ", gname='" + gname + '\'' +
                ", price=" + price +
                '}';
    }

    public int getCollectionid() {
        return collectionid;
    }

    public void setCollectionid(int collectionid) {
        this.collectionid = collectionid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }
}
